package payroll.trans;

import payroll.classification.HourlyClassification;

public class ChangeHourlyTransaction extends ChangeClassificationTransaction {

    private double hourlyRate;

    public ChangeHourlyTransaction(int empId, double hourlyRate) {
        super(empId);
        this.hourlyRate = hourlyRate;
    }

    @Override
    protected HourlyClassification getPaymentClassification() {
        return new HourlyClassification(hourlyRate);
    }

}
